package com.zhilifang.modules.zlf.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhilifang.modules.zlf.dao.FslinkMapper;
import com.zhilifang.modules.zlf.entity.Fslink;
import com.zhilifang.modules.zlf.service.FslinkService;

import java.util.List;

@Service("fslinkService")
public class FslinkServiceImpl implements FslinkService {

    @Autowired
    private  FslinkMapper fslinkMapper;

	@Override
	public List<Fslink> selectFslinkListr(Fslink record ) {
		// TODO Auto-generated method stub
		return fslinkMapper.selectFslinkListr(record);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return fslinkMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Fslink record) {
		// TODO Auto-generated method stub
		return fslinkMapper.insert(record);
	}

	@Override
	public int insertSelective(Fslink record) {
		// TODO Auto-generated method stub
		return fslinkMapper.insertSelective(record);
	}

	@Override
	public Fslink selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return fslinkMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Fslink record) {
		// TODO Auto-generated method stub
		return fslinkMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Fslink record) {
		// TODO Auto-generated method stub
		return 0;
	}



}